//#ifndef PATIENTREGISTRATION_H
//#define PATIENTREGISTRATION_H

//#include <QWidget>
//#include <QLineEdit>
//#include <QPushButton>
//#include <QVBoxLayout>
//#include "messagetype.h"
//#include <QTcpSocket>

//class PatientRegistration : public QWidget {
//    Q_OBJECT

//public:
//    PatientRegistration(QTcpSocket *socket, QWidget *parent = nullptr);

//private slots:
//    void onRegisterButtonClicked();
//    void onBackButtonClicked();

//private:
//    QLineEdit *idEdit;
//    QLineEdit *nameEdit;
//    QLineEdit *sexEdit;
//    QLineEdit *ageEdit;       // 新增年龄输入框
//    QLineEdit *phoneEdit;     // 新增电话输入框
//    QLineEdit *addressEdit;   // 新增地址输入框
//    QLineEdit *passwardEdit;
//    QPushButton *registerButton;
//    QPushButton *backButton;
//    QTcpSocket *tcpSocket;
//};

//#endif // PATIENTREGISTRATION_H
